home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 72 / maccd 72.iso / online / NetFinder 2.1.2 ƒ / NetFinder Script Components / Scripts / Search documentation for word < prev    next >
MacBinary  |  2000-01-31  |  3.6 KB  |  [ICI!/Woof]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Nov 2 19:00:00 1997, modified Mon Jan 31 01:54:40 2000, creator 'Woof', type 'ICI!', 3174 bytes "Search documentation for word" , at 0xce6 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ICI!]
macFileCreator[Woof]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1d 53 65 61 72 63 68 | 20 64 6f 63 75 6d 65 6e |..Search| documen|
|00000010| 74 61 74 69 6f 6e 20 66 | 6f 72 20 77 6f 72 64 00 |tation f|or word.|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 49 43 49 21 57 6f 6f | 66 01 00 00 00 00 00 00 |.ICI!Woo|f.......|
|00000050| 00 00 00 00 00 0c 66 00 | 00 01 1e b0 82 c4 80 b4 |......f.|........|
|00000060| ba e2 30 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..0.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d4 f3 00 00 |........|........|
|00000080| 2f 2a 20 0d 09 53 61 6d | 70 6c 65 20 49 43 49 20 |/* ..Sam|ple ICI |
|00000090| 73 63 72 69 70 74 20 66 | 6f 72 20 4e 65 74 46 69 |script f|or NetFi|
|000000a0| 6e 64 65 72 2e 0d 09 0d | 09 54 68 69 73 20 73 63 |nder....|.This sc|
|000000b0| 72 69 70 74 20 64 65 6d | 6f 6e 73 74 72 61 74 65 |ript dem|onstrate|
|000000c0| 73 20 68 6f 77 20 74 6f | 20 67 65 74 20 61 20 64 |s how to| get a d|
|000000d0| 69 72 65 63 74 6f 72 79 | 20 6c 69 73 74 69 6e 67 |irectory| listing|
|000000e0| 20 61 6e 64 20 70 65 72 | 66 6f 72 6d 20 70 61 74 | and per|form pat|
|000000f0| 74 65 72 6e 0d 09 6d 61 | 74 63 68 69 6e 67 2e 0d |tern..ma|tching..|
|00000100| 09 0d 09 57 68 61 74 20 | 74 68 69 73 20 73 63 72 |...What |this scr|
|00000110| 69 70 74 20 64 6f 65 73 | 3a 0d 09 2d 20 50 72 6f |ipt does|:..- Pro|
|00000120| 6d 70 74 73 20 74 68 65 | 20 75 73 65 72 20 66 6f |mpts the| user fo|
|00000130| 72 20 77 6f 72 64 28 73 | 29 20 74 6f 20 73 65 61 |r word(s|) to sea|
|00000140| 72 63 68 20 66 6f 72 2e | 0d 09 2d 20 4f 62 74 61 |rch for.|..- Obta|
|00000150| 69 6e 73 20 61 20 6c 69 | 73 74 20 6f 66 20 64 6f |ins a li|st of do|
|00000160| 63 6f 20 66 69 6c 65 73 | 20 74 6f 20 73 65 61 72 |co files| to sear|
|00000170| 63 68 20 74 68 72 6f 75 | 67 68 2e 0d 09 2d 20 53 |ch throu|gh...- S|
|00000180| 65 61 72 63 68 65 73 20 | 65 61 63 68 20 66 69 6c |earches |each fil|
|00000190| 65 20 66 6f 72 20 74 68 | 65 20 75 73 65 72 73 20 |e for th|e users |
|000001a0| 71 75 65 72 79 20 61 6e | 64 20 70 72 69 6e 74 73 |query an|d prints|
|000001b0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 20 74 | the res|ult in t|
|000001c0| 68 65 20 66 6f 72 6d 0d | 09 20 20 22 46 49 4c 45 |he form.|. "FILE|
|000001d0| 4e 41 4d 45 20 3e 20 73 | 65 67 6d 65 6e 74 20 6f |NAME > s|egment o|
|000001e0| 66 20 74 65 78 74 20 61 | 72 6f 75 6e 64 20 6d 61 |f text a|round ma|
|000001f0| 74 63 68 65 64 20 77 6f | 72 64 22 0d 09 0d 09 0d |tched wo|rd".....|
|00000200| 09 4e 4f 54 45 53 3a 0d | 09 6f 20 46 75 6c 6c 20 |.NOTES:.|.o Full |
|00000210| 49 43 49 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |ICI prog|ramming |
|00000220| 73 79 6e 74 61 78 20 63 | 61 6e 20 62 65 20 6f 62 |syntax c|an be ob|
|00000230| 74 61 69 6e 65 64 20 66 | 72 6f 6d 0d 09 20 20 3c |tained f|rom.. <|
|00000240| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 7a 65 74 61 2e |http://w|ww.zeta.|
|00000250| 6f 72 67 2e 61 75 2f 7e | 61 74 72 6e 2f 69 63 69 |org.au/~|atrn/ici|
|00000260| 2f 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2e 68 |/documen|tation.h|
|00000270| 74 6d 6c 3e 0d 09 0d 09 | 28 63 29 20 43 6f 70 79 |tml>....|(c) Copy|
|00000280| 72 69 67 68 74 20 32 30 | 30 30 20 50 65 74 65 72 |right 20|00 Peter|
|00000290| 20 4c 69 2e 0d 20 2a 2f | 20 0d 0d 0d 2f 2a 20 64 | Li.. */| .../* d|
|000002a0| 65 66 69 6e 65 20 61 20 | 66 65 77 20 76 61 72 69 |efine a |few vari|
|000002b0| 61 62 6c 65 73 20 2a 2f | 0d 61 75 74 6f 20 64 6f |ables */|.auto do|
|000002c0| 63 6f 50 61 74 68 20 3d | 20 22 3a 44 6f 63 75 6d |coPath =| ":Docum|
|000002d0| 65 6e 74 61 74 69 6f 6e | 3a 22 3b 0d 61 75 74 6f |entation|:";.auto|
|000002e0| 20 71 75 65 72 79 3b 0d | 61 75 74 6f 20 64 6f 63 | query;.|auto doc|
|000002f0| 6f 46 69 6c 65 6e 61 6d | 65 73 3b 0d 61 75 74 6f |oFilenam|es;.auto|
|00000300| 20 66 69 6c 65 6e 61 6d | 65 3b 0d 61 75 74 6f 20 | filenam|e;.auto |
|00000310| 66 69 6c 65 3b 0d 61 75 | 74 6f 20 6c 69 6e 65 3b |file;.au|to line;|
|00000320| 0d 61 75 74 6f 20 6d 61 | 74 63 68 3b 0d 61 75 74 |.auto ma|tch;.aut|
|00000330| 6f 20 63 6f 75 6e 74 20 | 3d 20 30 3b 0d 61 75 74 |o count |= 0;.aut|
|00000340| 6f 20 70 61 74 74 65 72 | 6e 3b 0d 0d 74 72 79 20 |o patter|n;..try |
|00000350| 7b 0d 09 0d 09 2f 2a 20 | 70 72 6f 6d 70 74 20 74 |{..../* |prompt t|
|00000360| 68 65 20 75 73 65 72 20 | 66 6f 72 20 69 6e 70 75 |he user |for inpu|
|00000370| 74 2e 20 2a 2f 0d 09 0d | 09 69 66 20 28 4d 49 43 |t. */...|.if (MIC|
|00000380| 49 2e 41 73 6b 28 22 45 | 6e 74 65 72 20 74 68 65 |I.Ask("E|nter the|
|00000390| 20 77 6f 72 64 28 73 29 | 20 79 6f 75 20 77 69 73 | word(s)| you wis|
|000003a0| 68 20 74 6f 20 73 65 61 | 72 63 68 20 66 6f 72 2e |h to sea|rch for.|
|000003b0| 5c 72 55 73 65 20 d2 2c | d3 20 62 65 74 77 65 65 |\rUse .,|. betwee|
|000003c0| 6e 20 77 6f 72 64 73 2e | 20 65 67 20 d2 75 6d 61 |n words.| eg .uma|
|000003d0| 73 6b 2c 65 6e 63 72 79 | 70 74 d3 22 2c 0d 09 09 |sk,encry|pt.",...|
|000003e0| 09 09 20 22 22 20 2f 2a | 20 69 6e 44 65 66 61 75 |.. "" /*| inDefau|
|000003f0| 6c 74 41 6e 73 77 65 72 | 20 2a 2f 2c 0d 09 09 09 |ltAnswer| */,....|
|00000400| 09 20 26 71 75 65 72 79 | 29 20 3d 3d 20 30 29 0d |. &query|) == 0).|
|00000410| 09 7b 0d 09 09 2f 2a 20 | 69 66 20 75 73 65 72 20 |.{.../* |if user |
|00000420| 64 69 64 6e 74 20 63 61 | 6e 63 65 6c 2c 20 63 6f |didnt ca|ncel, co|
|00000430| 6e 74 69 6e 75 65 2e 20 | 45 6c 73 65 20 64 6f 20 |ntinue. |Else do |
|00000440| 6e 6f 74 68 69 6e 67 2e | 20 2a 2f 0d 0d 09 09 2f |nothing.| */..../|
|00000450| 2a 0d 09 09 20 20 20 47 | 65 74 20 61 20 64 69 72 |*... G|et a dir|
|00000460| 65 63 74 6f 72 79 20 6c | 69 73 74 69 6e 67 20 66 |ectory l|isting f|
|00000470| 72 6f 6d 20 74 68 65 20 | 70 61 74 68 20 73 70 65 |rom the |path spe|
|00000480| 63 69 66 69 65 64 2c 20 | 61 6e 64 20 6d 61 6b 65 |cified, |and make|
|00000490| 20 73 75 72 65 0d 09 09 | 20 20 20 74 68 65 20 69 | sure...| the i|
|000004a0| 74 65 6d 73 20 6d 61 74 | 63 68 20 74 68 65 20 72 |tems mat|ch the r|
|000004b0| 65 67 75 6c 61 72 20 65 | 78 70 72 65 73 73 69 6f |egular e|xpressio|
|000004c0| 6e 20 28 6f 6e 6c 79 20 | 2e 68 74 6d 6c 20 66 69 |n (only |.html fi|
|000004d0| 6c 65 73 29 2e 20 0d 09 | 09 20 20 20 46 72 6f 6d |les). ..|. From|
|000004e0| 20 74 68 61 74 20 6c 69 | 73 74 20 6f 66 20 69 74 | that li|st of it|
|000004f0| 65 6d 73 20 6f 6e 6c 79 | 20 72 65 74 75 72 6e 20 |ems only| return |
|00000500| 22 66 22 20 28 66 69 6c | 65 73 29 20 69 67 6e 6f |"f" (fil|es) igno|
|00000510| 72 69 6e 67 0d 09 09 20 | 20 20 64 69 72 65 63 74 |ring... | direct|
|00000520| 6f 72 69 65 73 2e 0d 09 | 09 20 2a 2f 0d 09 09 64 |ories...|. */...d|
|00000530| 6f 63 6f 46 69 6c 65 6e | 61 6d 65 73 20 3d 20 64 |ocoFilen|ames = d|
|00000540| 69 72 28 64 6f 63 6f 50 | 61 74 68 20 2b 20 22 64 |ir(docoP|ath + "d|
|00000550| 6f 63 6f 3a 22 2c 20 72 | 65 67 65 78 70 28 22 2e |oco:", r|egexp(".|
|00000560| 2a 5c 5c 2e 68 74 6d 6c | 22 29 2c 20 22 66 22 29 |*\\.html|"), "f")|
|00000570| 3b 0d 09 09 0d 09 09 2f | 2a 20 61 64 64 20 6f 74 |;....../|* add ot|
|00000580| 68 65 72 20 6d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |her misc|ellaneou|
|00000590| 73 20 64 6f 63 6f 20 66 | 69 6c 65 73 20 74 6f 20 |s doco f|iles to |
|000005a0| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 66 69 6c 65 |the list| of file|
|000005b0| 73 20 74 6f 20 73 65 61 | 72 63 68 20 2a 2f 0d 09 |s to sea|rch */..|
|000005c0| 09 70 75 73 68 28 64 6f | 63 6f 46 69 6c 65 6e 61 |.push(do|coFilena|
|000005d0| 6d 65 73 2c 20 22 3a 6e | 65 74 66 69 6e 64 65 72 |mes, ":n|etfinder|
|000005e0| 2e 68 74 6d 6c 22 29 3b | 0d 09 09 70 75 73 68 28 |.html");|...push(|
|000005f0| 64 6f 63 6f 46 69 6c 65 | 6e 61 6d 65 73 2c 20 22 |docoFile|names, "|
|00000600| 3a 66 61 71 3a 46 41 51 | 2e 68 74 6d 6c 22 29 3b |:faq:FAQ|.html");|
|00000610| 0d 09 09 0d 09 09 70 72 | 69 6e 74 66 28 22 5c 6e |......pr|intf("\n|
|00000620| 53 65 61 72 63 68 69 6e | 67 20 66 6f 72 20 d2 25 |Searchin|g for .%|
|00000630| 73 d3 2e 2e 2e 5c 6e 22 | 2c 20 71 75 65 72 79 29 |s....\n"|, query)|
|00000640| 3b 0d 09 09 0d 09 09 2f | 2a 0d 09 09 20 20 20 53 |;....../|*... S|
|00000650| 69 6e 63 65 20 77 65 20 | 75 73 65 20 72 65 67 65 |ince we |use rege|
|00000660| 78 70 20 74 6f 20 64 6f | 20 74 68 65 20 73 65 61 |xp to do| the sea|
|00000670| 72 63 68 2c 20 77 65 20 | 6d 61 6b 65 20 73 75 72 |rch, we |make sur|
|00000680| 65 20 77 65 20 22 65 73 | 63 61 70 65 22 0d 09 09 |e we "es|cape"...|
|00000690| 20 20 20 73 6f 6d 65 20 | 6f 66 20 74 68 65 20 72 | some |of the r|
|000006a0| 65 73 65 72 76 65 64 20 | 73 79 6d 62 6f 6c 73 20 |eserved |symbols |
|000006b0| 73 6f 20 74 68 61 74 20 | 74 68 65 79 20 61 72 65 |so that |they are|
|000006c0| 20 6e 6f 74 20 69 6e 74 | 65 72 70 72 65 74 65 64 | not int|erpreted|
|000006d0| 0d 09 09 20 20 20 61 73 | 20 61 6e 6f 74 68 65 72 |... as| another|
|000006e0| 20 63 6f 6d 6d 61 6e 64 | 2e 0d 09 09 20 2a 2f 0d | command|.... */.|
|000006f0| 09 09 71 75 65 72 79 20 | 3d 20 67 73 75 62 28 71 |..query |= gsub(q|
|00000700| 75 65 72 79 2c 20 22 2c | 22 2c 20 22 7c 22 29 3b |uery, ",|", "|");|
|00000710| 0d 09 09 71 75 65 72 79 | 20 3d 20 67 73 75 62 28 |...query| = gsub(|
|00000720| 71 75 65 72 79 2c 20 22 | 5c 5c 24 22 2c 20 22 5c |query, "|\\$", "\|
|00000730| 5c 24 22 29 3b 0d 09 09 | 71 75 65 72 79 20 3d 20 |\$");...|query = |
|00000740| 67 73 75 62 28 71 75 65 | 72 79 2c 20 22 5c 5c 3f |gsub(que|ry, "\\?|
|00000750| 22 2c 20 22 5c 5c 3f 22 | 29 3b 0d 09 09 71 75 65 |", "\\?"|);...que|
|00000760| 72 79 20 3d 20 67 73 75 | 62 28 71 75 65 72 79 2c |ry = gsu|b(query,|
|00000770| 20 22 5c 5c 2e 22 2c 20 | 22 5c 5c 2e 22 29 3b 0d | "\\.", |"\\.");.|
|00000780| 09 09 71 75 65 72 79 20 | 3d 20 67 73 75 62 28 71 |..query |= gsub(q|
|00000790| 75 65 72 79 2c 20 22 5c | 5c 28 22 2c 20 22 5c 5c |uery, "\|\(", "\\|
|000007a0| 28 22 29 3b 0d 09 09 71 | 75 65 72 79 20 3d 20 67 |(");...q|uery = g|
|000007b0| 73 75 62 28 71 75 65 72 | 79 2c 20 22 5c 5c 29 22 |sub(quer|y, "\\)"|
|000007c0| 2c 20 22 5c 5c 29 22 29 | 3b 0d 09 09 71 75 65 72 |, "\\)")|;...quer|
|000007d0| 79 20 3d 20 67 73 75 62 | 28 71 75 65 72 79 2c 20 |y = gsub|(query, |
|000007e0| 22 5c 5c 5b 22 2c 20 22 | 5c 5c 5b 22 29 3b 0d 09 |"\\[", "|\\[");..|
|000007f0| 09 71 75 65 72 79 20 3d | 20 67 73 75 62 28 71 75 |.query =| gsub(qu|
|00000800| 65 72 79 2c 20 22 5c 5c | 5d 22 2c 20 22 5c 5c 5d |ery, "\\|]", "\\]|
|00000810| 22 29 3b 0d 09 09 0d 09 | 09 2f 2a 0d 09 09 20 20 |");.....|./*... |
|00000820| 20 57 72 61 70 20 75 70 | 20 6f 75 72 20 71 75 65 | Wrap up| our que|
|00000830| 72 79 20 73 6f 20 74 68 | 61 74 20 77 65 20 67 72 |ry so th|at we gr|
|00000840| 61 62 20 61 20 66 65 77 | 20 63 68 61 72 61 63 74 |ab a few| charact|
|00000850| 65 72 20 62 65 66 6f 72 | 65 20 61 6e 64 20 61 66 |er befor|e and af|
|00000860| 74 65 72 0d 09 09 20 20 | 20 74 68 65 20 6d 61 74 |ter... | the mat|
|00000870| 63 68 65 64 20 77 6f 72 | 64 2e 20 54 68 69 73 20 |ched wor|d. This |
|00000880| 77 61 79 20 77 65 20 63 | 61 6e 20 73 65 65 20 74 |way we c|an see t|
|00000890| 68 65 20 63 6f 6e 74 65 | 78 74 20 6f 66 20 77 68 |he conte|xt of wh|
|000008a0| 65 72 65 20 0d 09 09 20 | 20 20 74 68 65 20 6d 61 |ere ... | the ma|
|000008b0| 74 63 68 65 64 20 77 6f | 72 64 20 69 73 20 62 65 |tched wo|rd is be|
|000008c0| 69 6e 67 20 75 73 65 64 | 2e 0d 09 09 20 2a 2f 0d |ing used|.... */.|
|000008d0| 09 09 70 61 74 74 65 72 | 6e 20 3d 20 72 65 67 65 |..patter|n = rege|
|000008e0| 78 70 69 28 22 28 28 2e | 7b 32 35 7d 7c 2e 7b 30 |xpi("((.|{25}|.{0|
|000008f0| 2c 32 35 7d 29 22 20 2b | 20 71 75 65 72 79 20 2b |,25})" +| query +|
|00000900| 20 22 2e 7b 30 2c 32 35 | 7d 29 22 29 3b 0d 09 09 | ".{0,25|})");...|
|00000910| 0d 09 09 2f 2a 20 66 6f | 72 20 65 61 63 68 20 64 |.../* fo|r each d|
|00000920| 6f 63 75 6d 65 6e 74 20 | 69 6e 20 6f 75 72 20 6c |ocument |in our l|
|00000930| 69 73 74 2e 2e 2e 20 2a | 2f 0d 09 09 66 6f 72 61 |ist... *|/...fora|
|00000940| 6c 6c 20 28 66 69 6c 65 | 6e 61 6d 65 20 69 6e 20 |ll (file|name in |
|00000950| 64 6f 63 6f 46 69 6c 65 | 6e 61 6d 65 73 29 0d 09 |docoFile|names)..|
|00000960| 09 7b 0d 09 09 09 74 72 | 79 20 7b 0d 09 09 09 09 |.{....tr|y {.....|
|00000970| 2f 2a 20 6f 70 65 6e 20 | 74 68 65 20 66 69 6c 65 |/* open |the file|
|00000980| 20 66 6f 72 20 72 65 61 | 64 69 6e 67 20 2a 2f 0d | for rea|ding */.|
|00000990| 09 09 09 09 66 69 6c 65 | 20 3d 20 66 6f 70 65 6e |....file| = fopen|
|000009a0| 28 64 6f 63 6f 50 61 74 | 68 20 2b 20 22 64 6f 63 |(docoPat|h + "doc|
|000009b0| 6f 3a 22 20 2b 20 66 69 | 6c 65 6e 61 6d 65 2c 20 |o:" + fi|lename, |
|000009c0| 22 72 22 29 3b 0d 09 09 | 09 09 0d 09 09 09 09 2f |"r");...|......./|
|000009d0| 2a 20 66 6f 72 20 65 61 | 63 68 20 6c 69 6e 65 20 |* for ea|ch line |
|000009e0| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 77 65 20 61 |in the f|ile we a|
|000009f0| 72 65 20 73 65 61 72 63 | 68 69 6e 67 2e 2e 2e 20 |re searc|hing... |
|00000a00| 2a 2f 0d 09 09 09 09 77 | 68 69 6c 65 20 28 6c 69 |*/.....w|hile (li|
|00000a10| 6e 65 20 3d 20 67 65 74 | 6c 69 6e 65 28 66 69 6c |ne = get|line(fil|
|00000a20| 65 29 2c 20 6c 69 6e 65 | 20 21 3d 20 4e 55 4c 4c |e), line| != NULL|
|00000a30| 29 0d 09 09 09 09 7b 0d | 09 09 09 09 09 2f 2a 20 |).....{.|...../* |
|00000a40| 6c 6f 6f 6b 20 66 6f 72 | 20 61 20 6d 61 74 63 68 |look for| a match|
|00000a50| 20 2a 2f 0d 09 09 09 09 | 09 6d 61 74 63 68 20 3d | */.....|.match =|
|00000a60| 20 6c 69 6e 65 20 7e 7e | 20 70 61 74 74 65 72 6e | line ~~| pattern|
|00000a70| 3b 0d 09 09 09 09 09 0d | 09 09 09 09 09 69 66 20 |;.......|.....if |
|00000a80| 28 6d 61 74 63 68 20 21 | 3d 20 4e 55 4c 4c 29 0d |(match !|= NULL).|
|00000a90| 09 09 09 09 09 7b 0d 09 | 09 09 09 09 09 2f 2a 20 |.....{..|...../* |
|00000aa0| 77 65 20 66 6f 75 6e 64 | 20 61 20 6d 61 74 63 68 |we found| a match|
|00000ab0| 2c 20 73 6f 20 70 72 69 | 6e 74 20 6f 75 74 20 74 |, so pri|nt out t|
|00000ac0| 68 65 20 72 65 73 75 6c | 74 20 2a 2f 0d 09 09 09 |he resul|t */....|
|00000ad0| 09 09 09 70 72 69 6e 74 | 66 28 22 25 2d 31 35 73 |...print|f("%-15s|
|00000ae0| 20 3e 20 25 73 5c 6e 22 | 2c 20 66 69 6c 65 6e 61 | > %s\n"|, filena|
|00000af0| 6d 65 2c 20 6d 61 74 63 | 68 29 3b 0d 09 09 09 09 |me, matc|h);.....|
|00000b00| 09 09 63 6f 75 6e 74 2b | 2b 3b 0d 09 09 09 09 09 |..count+|+;......|
|00000b10| 7d 0d 09 09 09 09 7d 0d | 09 09 09 09 0d 09 09 09 |}.....}.|........|
|00000b20| 09 2f 2a 20 63 6c 6f 73 | 65 20 74 68 65 20 66 69 |./* clos|e the fi|
|00000b30| 6c 65 20 2a 2f 0d 09 09 | 09 09 63 6c 6f 73 65 28 |le */...|..close(|
|00000b40| 66 69 6c 65 29 3b 0d 09 | 09 09 09 0d 09 09 09 7d |file);..|.......}|
|00000b50| 20 6f 6e 65 72 72 6f 72 | 20 7b 0d 09 09 09 09 3b | onerror| {.....;|
|00000b60| 09 2f 2f 20 70 72 6f 62 | 6c 65 6d 20 6f 70 65 6e |.// prob|lem open|
|00000b70| 69 6e 67 20 66 69 6c 65 | 2e 2e 2e 20 6a 75 73 74 |ing file|... just|
|00000b80| 20 73 6b 69 70 20 69 74 | 2e 0d 09 09 09 7d 0d 09 | skip it|.....}..|
|00000b90| 09 7d 0d 09 09 0d 09 09 | 70 72 69 6e 74 66 28 22 |.}......|printf("|
|00000ba0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 22 29 3b 0d 09 09 |--------|--");...|
|00000bb0| 0d 09 09 2f 2a 20 70 72 | 69 6e 74 20 61 20 6d 65 |.../* pr|int a me|
|00000bc0| 73 73 61 67 65 20 69 66 | 20 77 65 20 64 69 64 6e |ssage if| we didn|
|00000bd0| 74 20 66 69 6e 64 20 61 | 6e 79 20 6d 61 74 63 68 |t find a|ny match|
|00000be0| 65 73 20 2a 2f 0d 09 09 | 69 66 20 28 63 6f 75 6e |es */...|if (coun|
|00000bf0| 74 20 3d 3d 20 30 29 0d | 09 09 7b 0d 09 09 09 70 |t == 0).|..{....p|
|00000c00| 72 69 6e 74 66 28 09 22 | 5c 6e 3e 3e 20 4e 6f 20 |rintf(."|\n>> No |
|00000c10| 6d 61 74 63 68 65 73 20 | 66 6f 75 6e 64 2e 5c 6e |matches |found.\n|
|00000c20| 22 0d 09 09 09 09 09 22 | 3e 3e 20 4e 4f 54 45 3a |"......"|>> NOTE:|
|00000c30| 20 54 68 69 73 20 73 63 | 72 69 70 74 20 6f 6e 6c | This sc|ript onl|
|00000c40| 79 20 77 6f 72 6b 73 20 | 77 69 74 68 20 66 75 6c |y works |with ful|
|00000c50| 6c 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |l docume|ntation |
|00000c60| 69 6e 73 74 61 6c 6c 65 | 64 5c 6e 22 0d 09 09 09 |installe|d\n"....|
|00000c70| 09 09 22 3e 3e 20 28 69 | 65 20 6e 6f 74 20 6f 6e |..">> (i|e not on|
|00000c80| 6c 69 6e 65 20 76 65 72 | 73 69 6f 6e 29 2e 22 29 |line ver|sion).")|
|00000c90| 3b 0d 09 09 7d 0d 09 09 | 70 72 69 6e 74 66 28 22 |;...}...|printf("|
|00000ca0| 5c 6e 22 29 3b 0d 09 7d | 0d 7d 20 6f 6e 65 72 72 |\n");..}|.} onerr|
|00000cb0| 6f 72 20 7b 0d 09 70 72 | 69 6e 74 66 28 22 27 69 |or {..pr|intf("'i|
|00000cc0| 63 69 4d 49 43 49 2e 73 | 6f 27 20 6d 6f 64 75 6c |ciMICI.s|o' modul|
|00000cd0| 65 20 69 73 20 6d 69 73 | 73 69 6e 67 2e 5c 6e 22 |e is mis|sing.\n"|
|00000ce0| 29 3b 0d 7d 0d 0d 00 00 | 00 00 00 00 00 00 00 00 |);.}....|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000d10| 53 49 4f 4e 3d 31 0d 2d | 2d 2d 0d 41 6c 61 64 64 |SION=1.-|--.Aladd|
|00000d20| 69 6e 09 3c 66 74 70 3a | 2f 2f 66 74 70 2e 61 6c |in.<ftp:|//ftp.al|
|00000d30| 1d 53 65 61 72 63 68 20 | 64 6f 63 75 6d 65 6e 74 |.Search |document|
|00000d40| 61 74 69 6f 6e 20 66 6f | 72 20 77 6f 72 64 02 00 |ation fo|r word..|
|00000d50| 00 00 62 7a 79 20 4d 41 | 43 53 01 00 ff ff ff ff |..bzy MA|CS......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000d70| 00 00 4f 3a fd b0 00 00 | 0c 66 00 00 01 1e 2f 3e |..O:....|.f..../>|
|00000d80| 09 31 0d 41 6c 74 2e 53 | 6f 75 72 63 65 73 2e 4d |.1.Alt.S|ources.M|
|00000d90| 61 63 09 3c 66 74 70 3a | 2f 2f 66 74 70 62 69 6f |ac.<ftp:|//ftpbio|
|00000da0| 2e 62 67 73 75 2e 65 64 | 75 3e 09 31 0d 41 4d 55 |.bgsu.ed|u>.1.AMU|
|00000db0| 47 09 3c 66 74 70 3a 2f | 2f 66 74 70 2e 61 6d 75 |G.<ftp:/|/ftp.amu|
|00000dc0| 67 2e 6f 72 67 2f 70 75 | 62 2f 3e 09 31 0d 41 4f |g.org/pu|b/>.1.AO|
|00000dd0| 43 45 09 3c 66 74 70 3a | 2f 2f 66 74 70 2e 61 6e |CE.<ftp:|//ftp.an|
|00000de0| 64 72 65 77 2e 63 6d 75 | 2e 65 64 75 2f 70 75 62 |drew.cmu|.edu/pub|
|00000df0| 2f 61 6f 63 65 2f 3e 09 | 31 0d 41 4f 4c 09 3c 66 |/aoce/>.|1.AOL.<f|
|00000e00| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000e10| 09 e5 a5 94 5b ce 00 00 | 00 1c 00 1e ff ff 00 00 |....[...|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+